package com.naiterui.ehp.bs.wechat.protocol.result;

import java.io.Serializable;

import org.apache.commons.lang3.builder.ToStringBuilder;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 获取公众号参数二维码返回结果
 * @author zhoupeipei
 * @date 2019/1/28 下午5:34
 * @since 1.0.0
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class QrCodeResult extends BaseResult implements Serializable {
    private static final long serialVersionUID = 1564568906544074364L;
    private String ticket;
    @JsonProperty("expire_seconds")
    private String expireSeconds;
    private String url;

    public String getTicket() {
        return ticket;
    }

    public void setTicket(String ticket) {
        this.ticket = ticket;
    }

    public String getExpireSeconds() {
        return expireSeconds;
    }

    public void setExpireSeconds(String expireSeconds) {
        this.expireSeconds = expireSeconds;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
}
